
package com.ktgj.common.spring.entity.iata.iata_ordercancelrs;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>ResponseType complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="ResponseType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="ChangeFees" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCancelRS}PenaltyType" minOccurs="0"/&gt;
 *         &lt;element name="OrderCancelProcessing" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCancelRS}ResponseParametersType" minOccurs="0"/&gt;
 *         &lt;element name="OrderRefID" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="TicketDocInfo" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCancelRS}TicketDocInfoType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="Warning" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCancelRS}WarningType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResponseType", propOrder = {
    "changeFees",
    "orderCancelProcessing",
    "orderRefID",
    "ticketDocInfo",
    "warning"
})
public class ResponseType {

    @XmlElement(name = "ChangeFees")
    protected PenaltyType changeFees;
    @XmlElement(name = "OrderCancelProcessing")
    protected ResponseParametersType orderCancelProcessing;
    @XmlElement(name = "OrderRefID", required = true)
    protected String orderRefID;
    @XmlElement(name = "TicketDocInfo")
    protected List<TicketDocInfoType> ticketDocInfo;
    @XmlElement(name = "Warning")
    protected List<WarningType> warning;

    /**
     * 获取changeFees属性的值。
     * 
     * @return
     *     possible object is
     *     {@link PenaltyType }
     *     
     */
    public PenaltyType getChangeFees() {
        return changeFees;
    }

    /**
     * 设置changeFees属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link PenaltyType }
     *     
     */
    public void setChangeFees(PenaltyType value) {
        this.changeFees = value;
    }

    /**
     * 获取orderCancelProcessing属性的值。
     * 
     * @return
     *     possible object is
     *     {@link ResponseParametersType }
     *     
     */
    public ResponseParametersType getOrderCancelProcessing() {
        return orderCancelProcessing;
    }

    /**
     * 设置orderCancelProcessing属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link ResponseParametersType }
     *     
     */
    public void setOrderCancelProcessing(ResponseParametersType value) {
        this.orderCancelProcessing = value;
    }

    /**
     * 获取orderRefID属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getOrderRefID() {
        return orderRefID;
    }

    /**
     * 设置orderRefID属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setOrderRefID(String value) {
        this.orderRefID = value;
    }

    /**
     * Gets the value of the ticketDocInfo property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the ticketDocInfo property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getTicketDocInfo().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TicketDocInfoType }
     * 
     * 
     */
    public List<TicketDocInfoType> getTicketDocInfo() {
        if (ticketDocInfo == null) {
            ticketDocInfo = new ArrayList<TicketDocInfoType>();
        }
        return this.ticketDocInfo;
    }

    /**
     * Gets the value of the warning property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the warning property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getWarning().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link WarningType }
     * 
     * 
     */
    public List<WarningType> getWarning() {
        if (warning == null) {
            warning = new ArrayList<WarningType>();
        }
        return this.warning;
    }

}
